The State Pattern | Game Engine Concepts